import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  name: 'employee',
  children: [{
    path: '',
    name: 'employee',
    component: () => import('@/views/employee'),
    meta: {
      title: '员工',
      icon: 'people'
    }
  },
  {
    path: '/employee/detail/:id?', // 员工详情地址 ？表示id可传可不传
    component: () => import('@/views/employee/detail'),
    hidden: true, // 不在左侧菜单显示
    meta: {
      title: '员工详情'// 显示导航的文本
    }
  }]
}

// 只想在左侧菜单显示一级菜单的话，让二级路由只有一个财险在左侧菜单
